import request from '@/utils/request'
//添加社区
export function sqCommunity_add(data) {
return request({
url: '/api/sqCommunity/add',
method: 'post',
data
})
}
//修改社区
export function sqCommunity_update(data) {
return request({
url: '/api/sqCommunity/update',
method: 'post',
data
})
}
//删除社区
export function sqCommunity_delete(data) {
return request({
url: '/api/sqCommunity/delete/' + data.id,
method: 'post',
data
})
}
//社区详情
export function sqCommunity_info(param) {
return request({
url: '/api/sqCommunity/info/' + param.id,
method: 'get',
param
})
}
//社区分页列表
export function sqCommunity_getPageList(data) {
return request({
url: '/api/sqCommunity/getPageList',
method: 'post',
data
})
}
